#!/usr/bin/env python3
import sys

for i in sys.stdin:
   print(int(i) + 1)